Skip to content

Arm release#402

Merged
adespawn merged 1 commit intoscylladb:mainfrom
adespawn:arm-release
Mar 20, 2026
Merged

Arm release#402
adespawn merged 1 commit intoscylladb:mainfrom
adespawn:arm-release

Conversation

@adespawn
Copy link
Contributor

@adespawn adespawn commented Feb 24, 2026

Add arm to release process. This includes building, and then testing the built binary on examples (with a single node version).

I've testes this CI with --dry-run option, to ensure everything works correctly.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds ARM (aarch64-unknown-linux-gnu) architecture support to the release process. The changes enable building, testing, and publishing ARM64 binaries alongside the existing x86_64 binaries.

Changes:

  • Added aarch64-unknown-linux-gnu as a build target in package.json
  • Created a new build job for aarch64 architecture using ubuntu-24.04-arm runners
  • Added an aarch64 test job that runs examples (integration tests are not run on ARM due to platform limitations)
  • Updated the publish job to include ARM artifacts and wait for ARM tests to complete

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Added aarch64-unknown-linux-gnu to the napi targets array for multi-architecture support
.github/workflows/release.yml Added build and test jobs for ARM64 architecture, removed outdated comments, and updated publish job dependencies and artifact handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@adespawn
Copy link
Contributor Author

@wprzytula Some thought here: since we are releasing multiple packages (1 main + 1 / architecture) maybe we want to have a separate step that releases all the packages in the dry-run mode, to increase the chances we release all the packages atomically?

Doing dry run should be able to catch most of the problems from our end, so (in theory) the only chance the full run could fail later, would be infrastructure problems: ex. npm dying in the middle of release process

@adespawn adespawn requested a review from wprzytula February 27, 2026 08:12
@adespawn adespawn marked this pull request as ready for review February 27, 2026 08:12
@adespawn adespawn self-assigned this Mar 3, 2026
@adespawn adespawn added this to the 0.4.0 milestone Mar 3, 2026
@adespawn adespawn force-pushed the arm-release branch 4 times, most recently from cee36df to a19b65e Compare March 10, 2026 12:28
@adespawn
Copy link
Contributor Author

I've tested all the changes in the dry mode: https://github.com/scylladb/nodejs-rs-driver/actions/runs/22901912473

@adespawn adespawn requested a review from nikagra March 12, 2026 14:53
wprzytula
wprzytula previously approved these changes Mar 18, 2026
@wprzytula
Copy link
Contributor

@wprzytula Some thought here: since we are releasing multiple packages (1 main + 1 / architecture) maybe we want to have a separate step that releases all the packages in the dry-run mode, to increase the chances we release all the packages atomically?

Doing dry run should be able to catch most of the problems from our end, so (in theory) the only chance the full run could fail later, would be infrastructure problems: ex. npm dying in the middle of release process

Yes, sounds wise.

Copy link
Contributor

@wprzytula wprzytula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait for @nikagra's approve, too.

@adespawn adespawn merged commit 5bc1c7c into scylladb:main Mar 20, 2026
8 checks passed
@adespawn adespawn deleted the arm-release branch March 20, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants